/*

 Example 8.1
 http://tronixstuff.com/tutorials > Chapter 8
 Serial.read demonstration
  
 */

int character = 0;	// for incoming serial data

void setup() 
{
  Serial.begin(9600);	
}

void loop() 
{
  if (Serial.available() > 0) 
  {
   character = Serial.read();
   {
      Serial.print(character, BYTE);
    }
  }
}


